package com.qujia.station.mapper;


import com.qujia.station.domain.MarketActivity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MarketActivityMapper {
    int deleteByPrimaryKey(Long marketActivityId);

    int insert(MarketActivity record);

    Long insertSelective(MarketActivity record);

    MarketActivity selectByPrimaryKey(Long marketActivityId);

    int updateByPrimaryKeySelective(MarketActivity record);

    int updateByPrimaryKey(MarketActivity record);

    List<MarketActivity> selectMarketActivityList(MarketActivity marketActivity);

    int deleteByMarketActivityId(@Param("marketActivityId") Long marketActivityId);

    List<MarketActivity> progressMarketActivityList(MarketActivity marketActivity);

    int updateEnabled(MarketActivity marketActivity);
}